﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Styx.Plugins;

using Chinajade.Tribe;


namespace Glatterflug
{
    public class Glatterflug : HBPlugin
    {
        #region Overrides of HBPlugin
        public override string      Author { get { return "chinajade"; } }
        public override string      ButtonText { get { return "Configuration"; } }
        public override string      Name { get { return "Glatterflug"; } }
        public override bool        WantButton { get { return true; } }
        public override Version     Version { get { return new Version(1, Tribe.RevisionControl.GetRevision()); } }

        public override void Dispose()
        {
            base.Dispose();
        }

        public override void Initialize()
        {
            Tribe.PackageName = Name;
        }

        public override void OnButtonPress()
        {
            // new FormSettings().ShowDialog();
            new PluginSettingsUI(Name, Version).ShowDialog();
        }

        public override void Pulse()
        {
        }
        #endregion // Overrides of HBPlugin
    }
}
